package com.boot.security.server.model.mffl.Vo;

import com.boot.security.server.model.mffl.mfflUserSimple;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "登录返回值")
public class LoginReturnVo {
    @ApiModelProperty(value = "token")
    private String token;
    @ApiModelProperty(value = "用户详细信息")
    private mfflUserSimple userInfo;
    @ApiModelProperty(value = "用户id")
    private Long sys_id;
    @ApiModelProperty(value = "用户昵称")
    private String nickanme;
    @ApiModelProperty(value = "手机号")
    private String phone;
    @ApiModelProperty(value = "用户名")
    private String username;
    @ApiModelProperty(value = "邮箱")
    private String email;
    @ApiModelProperty(value = "用户类型 0：用户 1：律师")
    private Integer identity;
    @ApiModelProperty(value = "登陆时间戳（毫秒）")
    private Long  loginTime;
    @ApiModelProperty(value = "身份证号")
    private String idnumber;
    @ApiModelProperty(value = "用户头像")
    private String headImgUrl;
    @ApiModelProperty(value = "真实姓名")
    private String realname;
    @ApiModelProperty(value = "注册方式")
    private String registerMethod;

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public mfflUserSimple getUserInfo() {
        return userInfo;
    }

    public void setUserInfo(mfflUserSimple userInfo) {
        this.userInfo = userInfo;
    }

    public Long getSys_id() {
        return sys_id;
    }

    public void setSys_id(Long sys_id) {
        this.sys_id = sys_id;
    }

    public String getNickanme() {
        return nickanme;
    }

    public void setNickanme(String nickanme) {
        this.nickanme = nickanme;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Integer getIdentity() {
        return identity;
    }

    public void setIdentity(Integer identity) {
        this.identity = identity;
    }

    public Long getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(Long loginTime) {
        this.loginTime = loginTime;
    }

    public String getIdnumber() {
        return idnumber;
    }

    public void setIdnumber(String idnumber) {
        this.idnumber = idnumber;
    }

    public String getHeadImgUrl() {
        return headImgUrl;
    }

    public void setHeadImgUrl(String headImgUrl) {
        this.headImgUrl = headImgUrl;
    }

    public String getRealname() {
        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname;
    }

    public String getRegisterMethod() {
        return registerMethod;
    }

    public void setRegisterMethod(String registerMethod) {
        this.registerMethod = registerMethod;
    }
}
